{layout name="daili/layout"}
<style>
    .p0{
        padding:1rem 0;
    }
</style>
<main class="app-content">
        <div class="col-md-12 p0">
                <div style="" class="tile">
                  <h3 class="tile-title">账单明细</h3>
                  <ul class="list-group">
                    {foreach $data as $v}

                      <li style="padding:0.2rem;margin-bottom:0.5rem;" class="list-group-item">
                            {if condition="$v.orderlist_and == '+'" /}
                            <span class="label label-default label-pill pull-right badge badge-success">+{$v.orderlist_money}元</span>
                            {else}
                            <span class="label label-default label-pill pull-right badge badge-danger">-{$v.orderlist_money}元</span>
                            {/if}
                            <span>    <b style="font-size: 1rem"> {$v->orderlist_name} :</b>  </span>
                            <div>时间:  {:date('Y-m-d H:i:s',$v->orderlist_time)} </div>
                      </li>
                    {/foreach}
                     
                     
                    
                    </ul>


                        <div id="pages">
                            {$page}
                        </div>
                       
                    
                        <script>  
                          $("#pages li span").attr('class','page-link');
                          $("#pages li a").each((e,q)=>{
                              console.log();
                              if(typeof( $(q).attr('class')) == 'undefined'){
                                $(q).attr('class',' page-link');
                              }else{
                                $(q).attr('class',$(q).attr('class')+' page-link');
                              }
                          })
                        </script>


                 
                </div>
              </div>
</main>